
import { lazy } from 'react'
const router = [
   {
      path: "/",
      redirect:"/home",
      component:lazy(()=> import('../views/home/index')),
      customData: { navTitle: true },
   },
   {
      path: "/login",
      component: lazy(()=> import('../views/login/index')),
      customData: { navTitle: true },
   },
   {
      path: "/home",
      component: lazy(()=> import('../views/home/index')),
      customData: { navTitle: true },
   },
   {
      path: "/questionAnsweringManagement",
      component: lazy(() => import('../views/questionAnsweringManagement/index')),
      customData: { navTitle: true },
   },
]

export default router